package com.zwz.entity;

import lombok.Data;

import java.util.Date;

@Data
public class BusinessAbnormality {


    private Integer id;  // 与主表一致
    private Boolean hasAbnormality;
    private Boolean currentAbnormality;
    private Date latestInclusionDate;
    private String inclusionReason;
    private String historicalReasons;
    private Date removalDate;
    private String removalReasons;
    private Integer abnormalityCount;

    private Integer  enterpriseId;



    // Lombok @Data 可替代以下代码
    public Integer getId() { return id; }
    public void setId(Integer id) { this.id = id; }

    public Boolean getHasAbnormality() { return hasAbnormality; }
    public void setHasAbnormality(Boolean hasAbnormality) { this.hasAbnormality = hasAbnormality; }

    // 其他字段的完整getter/setter...
    public Integer getAbnormalityCount() { return abnormalityCount; }
    public void setAbnormalityCount(Integer abnormalityCount) { this.abnormalityCount = abnormalityCount; }
}